# -*- coding: UTF-8 -*-

i = 0
while i < 5:#控制外循环次数
    j = 0
    while j <= i:
        print("*",end=" ")
        j += 1
    print()
    i += 1
i = 4
while i > 0:#控制内循环次数
    j = 0
    while j < i :
        print("*",end=" ")
        j += 1
    print()
    i -= 1


#2、break和continue的区别：
"""
break 是程序结束
continue 是结束当前，接着执行下个

"""